package com.example.myspringboot.web.user;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;

/**
 * @author cy
 * @date 2024/5/21
 * 用户类
 */
@RestController
@RequestMapping("/user")
@RequiredArgsConstructor
@Slf4j
public class UserController {

    @RequestMapping(value = "/mima", method = RequestMethod.POST)
    public ResponseEntity<String> dengLuHeYan(@RequestBody String info) {
        log.info("1234");

        return ResponseEntity.ok("");
    }
}
